
package system.base;

import framework.core.*;

/*
	Author    :Wing
	CreateTime:2008-03-04 14:47:09
*/
public class WarehouseCustomerSearchEvent extends SearchEvent
{

	private String m_id = "" ; // all

	private String m_warehouse_code = "" ; // all

	private String m_customer_code = "" ; // all

	private String m_create_user_id = "" ; // all

	private String m_create_user = "" ; // all

	private String m_create_time = "" ; // all

	private String m_last_update_user_id = "" ; // all

	private String m_last_update_user = "" ; // all

	private String m_last_update_time = "" ; // all
		
	private String m_status = "" ; // all

public WarehouseCustomerSearchEvent() 
{
	super();
		
}



	public String getId()
	{
		return m_id ;
	}
	public void setId(String v)
	{
		m_id = v;
	}

	public String getWarehouseCode()
	{
		return m_warehouse_code ;
	}
	public void setWarehouseCode(String v)
	{
		m_warehouse_code = v;
	}

	public String getCustomerCode()
	{
		return m_customer_code ;
	}
	public void setCustomerCode(String v)
	{
		m_customer_code = v;
	}

	public String getCreateUserId()
	{
		return m_create_user_id ;
	}
	public void setCreateUserId(String v)
	{
		m_create_user_id = v;
	}

	public String getCreateUser()
	{
		return m_create_user ;
	}
	public void setCreateUser(String v)
	{
		m_create_user = v;
	}

	public String getCreateTime()
	{
		return m_create_time ;
	}
	public void setCreateTime(String v)
	{
		m_create_time = v;
	}

	public String getLastUpdateUserId()
	{
		return m_last_update_user_id ;
	}
	public void setLastUpdateUserId(String v)
	{
		m_last_update_user_id = v;
	}

	public String getLastUpdateUser()
	{
		return m_last_update_user ;
	}
	public void setLastUpdateUser(String v)
	{
		m_last_update_user = v;
	}

	public String getLastUpdateTime()
	{
		return m_last_update_time ;
	}
	public void setLastUpdateTime(String v)
	{
		m_last_update_time = v;
	}
		
    public String getStatus()
    {
        return m_status ;
    }
    public void setStatus(String v)
    {
        m_status = v;
    }


	public String viewId() throws Exception
	{
		return Value.view(getId());
	}

	public String viewWarehouseCode() throws Exception
	{
		return Value.view(getWarehouseCode());
	}

	public String viewCustomerCode() throws Exception
	{
		return Value.view(getCustomerCode());
	}

	public String viewCreateUserId() throws Exception
	{
		return Value.view(getCreateUserId());
	}

	public String viewCreateUser() throws Exception
	{
		return Value.view(getCreateUser());
	}

	public String viewCreateTime() throws Exception
	{
		return Value.view(getCreateTime());
	}

	public String viewLastUpdateUserId() throws Exception
	{
		return Value.view(getLastUpdateUserId());
	}

	public String viewLastUpdateUser() throws Exception
	{
		return Value.view(getLastUpdateUser());
	}

	public String viewLastUpdateTime() throws Exception
	{
		return Value.view(getLastUpdateTime());
	}

    public String viewStatus() throws Exception
    {
        return Value.view(getStatus());
    }	
	

	public Conditions toConditions() throws Exception
	{
		Conditions c = super.toConditions();

	c.add(getCondition(WarehouseCustomer.ID,getId()));

	c.add(getCondition(WarehouseCustomer.WAREHOUSE_CODE,getWarehouseCode()));

	c.add(getCondition(WarehouseCustomer.CUSTOMER_CODE,getCustomerCode()));

	c.add(getCondition(WarehouseCustomer.CREATE_USER_ID,getCreateUserId()));

	c.add(getCondition(WarehouseCustomer.CREATE_USER,getCreateUser()));

	c.add(getCondition(WarehouseCustomer.CREATE_TIME,getCreateTime()));

	c.add(getCondition(WarehouseCustomer.LAST_UPDATE_USER_ID,getLastUpdateUserId()));

	c.add(getCondition(WarehouseCustomer.LAST_UPDATE_USER,getLastUpdateUser()));

	c.add(getCondition(WarehouseCustomer.LAST_UPDATE_TIME,getLastUpdateTime()));
		
	c.add(getCondition(WarehouseCustomer.STATUS,getStatus()));
			
		return c ;
	}
	
//add by Wing start

//add by Wing end
}
